﻿namespace WH.Contracts.Systems.Users
{
    /// <summary>
    /// 用户 查询字段
    /// </summary>
    public class UserFilterDto
    {
        /// <summary>
        /// 关键字 编号/名称
        /// </summary>
        public string? Keyword { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string? Account { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public string? UserTypeCode { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        public string? RoleId { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public string? RoleTypeCode { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        public string? PhoneNumber { get; set; }

        /// <summary>
        /// 组织主键fid 读取sys_organize表中的fid  例如归属某一个养老院
        /// </summary>
        public string? OrganizationId { get; set; }

        /// <summary>
        /// 状态（0停用 1正常）
        /// </summary>
        public bool? IsEnable { get; set; }
    }
}